correlation and regression maths lr and stats